-
Notifications
You must be signed in to change notification settings - Fork 14
TCA-505 reduce js bundle size #335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TCA-505 reduce js bundle size #335
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving this as long as this code splitting and lazy loading approach is current and stable -- not clear to me from the React docs if that's the case. If not, let's chat.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fantastic!
Can you add a Lazy-loading Components
section to the '## Adding a Tool or Util' to the README?
@brooketopcoder I updated the readme.md, can you recheck? thanks! |
@vas3a Approved--thanks! |
https://topcoder.atlassian.net/browse/TCA-505
Splits the JS bundle into multiple js chunks, and reduces the size of the js files downloaded initially (by not loading the extra modules).